namespace VegetableSale.NET.Entities;

public class StockQuery
{
    
    private int commid;
    private string commname;
    private double skmoney;
    private int sknumber;

    
    public int Commid
    {
        get => commid;
        set => commid = value;
    }

    public string Commname
    {
        get => commname;
        set => commname = value ?? throw new ArgumentNullException(nameof(value));
    }

    public double Skmoney
    {
        get => skmoney;
        set => skmoney = value;
    }

    public int Sknumber
    {
        get => sknumber;
        set => sknumber = value;
    }
    
    public StockQuery(int commid, string commname, double skmoney, int sknumber)
    {
        this.commid = commid;
        this.commname = commname;
        this.skmoney = skmoney;
        this.sknumber = sknumber;
    }

    
}